import logging
def set_log():
    logging.basicConfig(filename="weidudiansanglog.txt",filemode="a+",level=logging.INFO,format="%(funcName)s--%(asctime)s--%(message)s")